package priv.dajie.tzzq.model;

import java.math.BigDecimal;

public class CompareItem {
    /***
     *  用于储存数据库比较价格的结果
     */

    private String steamName;
    private String nameid;
    private String c5ID;
    private String buffID;
    private BigDecimal c5NeedPirce;
    private BigDecimal buffNeedPrice;
    private BigDecimal price;

    public CompareItem(String steamName, String nameid, String c5ID, String buffID, BigDecimal c5NeedPirce, BigDecimal buffNeedPrice, BigDecimal price) {
        this.steamName = steamName;
        this.nameid = nameid;
        this.c5ID = c5ID;
        this.buffID = buffID;
        this.c5NeedPirce = c5NeedPirce;
        this.buffNeedPrice = buffNeedPrice;
        this.price = price;
    }

    public String getSteamName() {
        return steamName;
    }

    public String getNameid() {
        return nameid;
    }

    public String getC5ID() {
        return c5ID;
    }

    public String getBuffID() {
        return buffID;
    }

    public BigDecimal getC5NeedPirce() {
        return c5NeedPirce;
    }

    public BigDecimal getBuffNeedPrice() {
        return buffNeedPrice;
    }

    public BigDecimal getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return "CompareItem{" +
                "steamName='" + steamName + '\'' +
                ", nameid='" + nameid + '\'' +
                ", c5ID='" + c5ID + '\'' +
                ", buffID='" + buffID + '\'' +
                ", c5NeedPirce=" + c5NeedPirce +
                ", buffNeedPrice=" + buffNeedPrice +
                ", price=" + price +
                '}';
    }
}
